class Animal:
    def __init__(self, kind, name, color):
        self.kind = kind
        self.name = name
        self.color = color

    def woof(self):
        print(f"{self.name}汪汪")

    def shrink(self):
        print(f"{self.name}摇尾巴")


dog = Animal('狗狗', '大黄', '黄色')

dog.woof()

dog.shrink()
